<?php

namespace Pocker\PockerBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * PkCardCollection
 *
 * @ORM\Table(name="pk_card_collection")
 * @ORM\Entity(repositoryClass="Pocker\PockerBundle\Repository\PkCardCollectionRepository")
 */
class PkCardCollection
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="name", type="string", length=64, nullable=false)
     */
    private $name;

    /**
     * @var integer
     *
     * @ORM\Column(name="type", type="integer", nullable=false)
     */
    private $type;

    /**
     * @var boolean
     *
     * @ORM\Column(name="del_flg", type="boolean", nullable=false)
     */
    private $delFlg = '0';

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="insert_datetime", type="datetime", nullable=false)
     */
    private $insertDatetime;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="update_datetime", type="datetime", nullable=false)
     */
    private $updateDatetime;



    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set name
     *
     * @param string $name
     * @return PkCardCollection
     */
    public function setName($name)
    {
        $this->name = $name;

        return $this;
    }

    /**
     * Get name
     *
     * @return string 
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set type
     *
     * @param integer $type
     * @return PkCardCollection
     */
    public function setType($type)
    {
        $this->type = $type;

        return $this;
    }

    /**
     * Get type
     *
     * @return integer 
     */
    public function getType()
    {
        return $this->type;
    }

    /**
     * Set delFlg
     *
     * @param boolean $delFlg
     * @return PkCardCollection
     */
    public function setDelFlg($delFlg)
    {
        $this->delFlg = $delFlg;

        return $this;
    }

    /**
     * Get delFlg
     *
     * @return boolean 
     */
    public function getDelFlg()
    {
        return $this->delFlg;
    }

    /**
     * Set insertDatetime
     *
     * @param \DateTime $insertDatetime
     * @return PkCardCollection
     */
    public function setInsertDatetime($insertDatetime)
    {
        $this->insertDatetime = $insertDatetime;

        return $this;
    }

    /**
     * Get insertDatetime
     *
     * @return \DateTime 
     */
    public function getInsertDatetime()
    {
        return $this->insertDatetime;
    }

    /**
     * Set updateDatetime
     *
     * @param \DateTime $updateDatetime
     * @return PkCardCollection
     */
    public function setUpdateDatetime($updateDatetime)
    {
        $this->updateDatetime = $updateDatetime;

        return $this;
    }

    /**
     * Get updateDatetime
     *
     * @return \DateTime 
     */
    public function getUpdateDatetime()
    {
        return $this->updateDatetime;
    }
}
